package com.ubi.core.framework.exception;

/**
 * Created by admin on 16-6-12.
 */
public class KickException extends BaseBusinessException {

    private int errorCode;

    private Object[] args;

    private Object data;

    public KickException(String message) {
        super(message);
    }

    public KickException(String message, Object[] args) {
        super(message);
        this.args = args;
    }

    public KickException(String message, Object[] args, Object data) {
        super(message);
        this.args = args;
        this.data = data;
    }

    public KickException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public KickException(int errorCode, String message, Object[] args) {
        super(message);
        this.errorCode = errorCode;
        this.args = args;
    }

    public int getErrorCode() {
        return errorCode;
    }

    public Object[] getArgs() {
        return args;
    }

    public Object getData() {
        return data;
    }
}

